Method of pre-processing data on a host machine for a host-based print system

ABSTRACT

The software on the host machine examines a pixel, either alone or in relation to adjacent pixels. Based on the image data contained in the pixel or group of pixels, a multi-bit value is generated that can be used by the printing device to easily reproduce the necessary detail of the original pixel. The multi-bit value also contains print engine control parameters to handle items such as toner miser mode, toner explosion, edge roll off, etc. The multi-bit value can be generated algorithmically by using a lookup table or by some combination of these methods.

BACKGROUND

Prior solutions typically use original print data to generate single bit print data on a host machine, e.g. computer. Reducing the print data to a single bit stream enables faster transfer of the data between the host machine and the printing device. While this allows for higher print speeds, there is significant loss of image detail.

To compensate for the loss of image detail, extensive processing is done on the printing device to reconstruct the original image detail using the single bit data stream. This is typically done with extensive hardware circuits and or high-powered processors. These hardware resources add significant cost to the printing device.

FIG. 1 illustrates an overview process flowchart according the prior art described above. On the host machine, an application, e.g. Microsoft PowerPoint, generates page data at a defined pixel rate, e.g. 8 bits per plane per pixel. The image processor renders page data to 1 bit per plane per pixel. While this will allow for faster data transfer to the printer, much of the image detail is lost. The image processed data may be further compressed, e.g. JBIG or JPEG, to facilitate data transfer. The host I/O manages the data to and from the printer.

The printer I/O manages data to and from the host machine. If the received data has been compressed, it will be uncompressed according to the appropriate decompression algorithm. The imaging processing hardware attempts to recreate the details of the original image data using 1 bit per plane per pixel data. A pulse code generator generates pulse codes to control the laser using the modified image data from the image processing hardware. The print engine mechanism uses the pulse codes to print hardcopy image.

FIG. 2 illustrates a functional block diagram of the host machine according to the prior art described in FIG. 1. The application interacts with the operating system (OS) Graphics Interface. A spooler stores data, received via the OS Graphics Interface, in object form. The print processor reads graphics objects stored by the spooler and generates a raster bitmap. The bitmap contains 1-bit per pixel values.

SUMMARY

In the present invention, the processing required to generate high quality print output is shifted from the printing device to the host machine. This allows for minimal hardware resources on the printing device.

In one embodiment, a printing system comprises a host machine and a printing device. The host machine includes an application, image processor, optional controller, and an I/O device. The application generates page data. An image processor receives the page data and renders interim data that contains a multi-bit value per plane per pixel. The interim data may be optionally compressed. I/O device transfers the data to the printing device. The printing device includes an I/O device, an optional controller, a pulse code generator, and a print engine mechanism. The I/O device receives data from the host machine. The controller decompresses the data, if compressed. The pulse code generator, receives the interim data, for each multi-bit value, then generates a pulse code corresponding to the multi-bit value. The print engine receives the pulse codes and transforms the pulse code to a hardcopy image.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates an overview process flowchart according to the prior art.

FIG. 2 illustrates a functional block diagram of the host machine according to the prior art described in FIG. 1.

FIG. 3 illustrates an overview process flowchart according to the present invention.

FIG. 4 illustrates a functional block diagram of the host machine according to the flowchart described in FIG. 3.

DETAILED DESCRIPTION

The interim data accurately represents the original print data without losing necessary detail while significantly reducing the overall size of the print data. The interim, multi-bit values are generated in a way that allows the printing device to easily convert them into high quality print output.

In operation, the software on the host machine examines a pixel, either alone or in relation to adjacent pixels. Based on the image data contained in the pixel or group of pixels, a multi-bit value is generated that can be used by the printing device to easily reproduce the necessary detail of the original pixel. The multi-bit value also contains print engine control parameters that effect print quality enhancements such as toner miser mode, toner explosion, edge roll off, etc. The multi-bit value can be generated algorithmically by using a lookup table or by some combination of these methods.

FIG. 3 illustrates a process flowchart 100 according to the present invention.

Steps 110-140 are accomplished on the host machine. In step 110, an application generates page data at a selected bit rate per plane per pixel, e.g. 8 bits. In step 120, the imaging processor renders data to a multi-bit per plane per pixel interim value. This interim value contains all necessary image detail as well as print engine control parameters to handle print quality items, e.g. toner miser and resolution enhancement. In step 130, the data is optionally compressed to facilitate data transfer. Compression can be done using a lossless algorithm, e.g. JBIG, or by using a lossy algorithm, e.g. JPEG. In step 140, the interim data is transferred to and from the printing device.

Steps 150-180 are accomplished on the printing device. In step 150, data is transferred to and from the host machine. In step 160, if the data has been compressed, the data will be decompressed using the same algorithm that was used to compress the data. In step 170, the pulse codes are generated from the interim multi-bit values since it contains all necessary image detail and print engine control parameters. In step 180, the pulse codes are used to print a hardcopy image.

FIG. 4 illustrates a functional block diagram of the host machine according to the invention described in FIG. 3. The application 10 interacts with the operating system (OS) Graphics Interface 12. A spooler 14 stores data, received via the OS Graphics Interface 12, in object form. The print processor 16 reads graphics objects stored by the spooler 14 and generates a raster bitmap. The bitmap contains 8-bit per pixel values. Any print processor that generates an 8-bit per pixel values maybe used, e.g. that offered by Microsoft or Hewlett-Packard.

In the present invention, the print processor 16 examines the pixels in the raster bitmap, either individually or in relation to neighboring pixels. After this analysis, a corresponding multi-bit value (includes 2 and 4 bit values) that accurately represents the original pixel is generated. The multi-bit value may be generated using a look-up table or algorithmically. The multi-bit values can also encapsulate print engine control information to handle print quality items including toner explosion, toner miser, and resolution enhancement.

The pulse codes are coded data used to instruct the Pulse Width Modulator (PWM) block on what to do for a single pixel. Pulse codes can contain pulse position information (i.e. left, right, center, split) and pulse width information (i.e. make the pulse {fraction (15/32)} of a pixel wide).

Toner Explosion is a problem with certain patterns of toner on certain types of media under certain ambient conditions that causes some of the toner to relocate on the page—the page ends up looking like tiny explosives were set off under the toner.

Toner Miser allows the reduction of the amount of toner used to render the image on a page. This is usually associated with a ‘draft’ mode and the image quality is usually less than that of a normally printed page.

In Resolution Enhancement, the apparent resolution of the output image is increased. It also reduces the ‘jagged’ edges caused by converting an image to a discrete pattern of 1's and 0's. Resolution enhancement is also used to reduce the stair step edges in slanted lines and also smooth out curved edges. 

1. A printing system comprising: a host machine including, an application generating page data at a predetermined bit rate per plane per pixel, an image processor, receiving the page data, rendering interim data that contains a multi-bit value per plane per pixel, and an I/O device for communicating the interim data; and a printing device including, an I/O device for communicating the interim data, a pulse code generator, receiving the interim data, for each multi-bit value, generating a pulse code corresponding to the multi-bit value, and a print engine, receiving the pulse codes, transforming the pulse code to a hardcopy image.
 2. A printing system, as defined in claim 1, each multi-bit value includes print parameters.
 3. A printing system, as defined in claim 2, wherein the print parameters are selected from a group that includes as toner miser mode, toner explosion, and edge roll off.
 4. A method for rendering a hardcopy image comprising: on a host machine, generating page data at a selected bit rate per plane per pixel, rendering data to interim multi-bit values per plane per pixel interim value, and transferring the interim multi-bit values; and on a printing device, transferring the interim multi-bit values to and from the host machine, generating pulse codes from the interim multi-bit values, and rendering a hardcopy image from the pulse codes.
 5. A method for rendering a hardcopy image as defined in claim 4, each multi-bit value includes print parameters.
 6. A method for rendering a hardcopy image as defined in claim 5, wherein the print parameters are selected from a group that includes as toner miser mode, toner explosion, and edge roll off.
 7. A host machine comprising: an application generating page data at a predetermined bit rate per plane per pixel, an image processor, receiving the page data, rendering interim data that contains a multi-bit value per plane per pixel, and an I/O device for communicating the interim data.
 8. A printing system, as defined in claim 7 each multi-bit value includes print parameters.
 9. A printing system, as defined in claim 8, wherein the print parameters are selected from a group that includes as toner miser mode, toner explosion, and edge roll off. 